/** When your routing table is too long, you can split it into small modules **/

import Layout from "@/layout";
const componentsRouter = {
  path: "/components",
  component: Layout,
  redirect: "noRedirect",
  name: "ComponentDemo",
  meta: {
    title: "统计页",
    icon: "component",
  },
  children: [
    {
      path: "manager",
      component: () => import("@/views/components-demo/manager"),
      name: "manager",
      meta: { title: "店家页" },
    },
    {
        path: "/components/details",
        component: () => import("@/views/components-demo/details/index"),
        name: "details",
        meta: { title: "详情页" },
      },
  ],
};

export default componentsRouter;
